<%@ page language="java" contentType="text/html; charset=UTF-8"
   pageEncoding="UTF-8"%>
   <script  type="text/javascript" src="js/clearText.js"></script>
<h1>Logowanie</h1>
						<form class="login" action="LoginServlet" method="post">
							
								<p>
									<label class="login" for="login">Email: </label> <input type="text"
										name="email" id="email" onfocus="clearText(this)" onblur="clearText(this)" value="twojemail@email.pl">
								</p>

								<p>
									<label class="login"  for="password">Hasło:</label> <input type="password"
										name="password" onfocus="clearText(this)" onblur="clearText(this)" id="password" value="4815162342">
								</p>

								<p class="login-submit">
									<button type="submit" class="login-button">Login</button>
								</p>
								
								

								<p class="forgot-password">
									<a href="index.jsp?page=forgotPassword">Zapomniałeś hasła?</a><br>
									<%
		if (session.getAttribute("warning") != null) {
	%>
	<span><%= session.getAttribute("warning") %></span> 
	<%
		session.removeAttribute("warning");
		}
	%>
								</p>
							
							</form>

